<?php

namespace app\admin\validate\sign_up;

use think\Validate;

class Programme extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'paid_download'=>'require|gt:30'
    ];
    /**
     * 提示消息
     */
    protected $message = [
        'paid_download.require'=>'不能为空',
        'paid_download.gt'=>'付费下载价格不能大于30',
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => ['paid_download'],
    ];
    
}
